 <style>
.halaman
 {
 margin:10px;
 font-size:11px;
 }

.halaman a
 {

padding:3px;
 background:#375970;
 -moz-border-radius:5px;
 -webkit-border-radius:5px;
 border:1px solid blue;
 font-size:10px;
 font-weight:bold;
 color:#FFF;
 text-decoration:none;

}
 </style>
<? 
if($jml > 0 ){

?>
<div id="list_na">
	<fieldset>
<?
foreach ($produk as $v) {
	$kat=$v["kategori"];
?>
	
	<div class="thumbnail pagination-centered">
	<h4><?=$v['nama_produk'];?></h4>
	<h2>Toko : <?=$v['nama_toko'];?></h2>
	<h2>Oleh : <?=$v['nama_lengkap'];?></h2>
	<hr class="lessspace" />
	<a href="<?=base_url()?>frontend/product/<?=$v['id']?>"><img src="<?=base_url()?>repositori/produk_user/<?=$v["foto_1"]?>" alt="<?=$v['nama_produk'];?>" class="prod"/></a>
	<div>
	<?php
	if($v['rating']>0){
		for($i=0;$i<$v["rating"];$i++){
			echo '<img src="'.base_url().'assets/css/easyui/icons/rating2.png" />';
		}
	}else{
		echo '<img src="'.base_url().'assets/images/black_star.png" />';
	}
	?>
	
	</div>
	<p>
	<a class="btn btn-large btn-block btn-primary" href=""><i class="icon-shopping-cart icon-white"></i> Harga Rp.<?=number_format($v["harga"],2);?> </a>
	</p>
</div>
<? }

?>
</fieldset>
<div class="halaman"><?=$halaman;?></div>
</div>
<?
}
else{
?>
	<fieldset><center><b>TIDAK ADA DATA PRODUK</b></center></fieldset>
<?
}
 ?>
						